obj-m += simple_char_ioctl.o
KERNEL_SRC_DIR = /lib/modules/`uname -r`/build

#KERNEL_SRC_DIR = /home/wchan9/build/mohonpeak-daisy/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.10.38+gitAUTOINC+e1f26aeccf_02f7e63e56-r0/linux-corei7-64-intel-common-standard-build

all:
	make -C $(KERNEL_SRC_DIR) M=`pwd` modules

clean:
	make -C $(KERNEL_SRC_DIR) M=`pwd` clean
